package linear;

/**
 * 顺序表测试类
 */
public class SequenceTest {

    public static void main(String[] args) {
        Sequence sequence = new Sequence(5);
        for (int i = 0; i < 10; i++) {
            sequence.add("a" + i);
        }
        sequence.each();
        System.out.println("");
        System.out.println("capacity:" + sequence.getCapacity());

    }
}
